package com.example.petmall.repository;

import com.example.petmall.entity.Pet;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface PetRepository extends JpaRepository<Pet, Integer> {
    List<Pet> findByCategoryId(Integer categoryId);
}    